package com.example.compkeylab.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author Cheng Guanghao
 * @since 2023-11-27
 */
@TableName("competitive_relationships")
@ApiModel(value = "CompetitiveRelationships对象", description = "")
public class CompetitiveRelationships implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("用户id")
    private Integer userId;

    @ApiModelProperty("竞争对手id")
    private Integer competitorId;

    @ApiModelProperty("竞争度")
    private Double competitiveness;

    @ApiModelProperty("是否为新的竞争对手；0-不是  1-是")
    private Boolean isNew;


    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getCompetitorId() {
        return competitorId;
    }

    public void setCompetitorId(Integer competitorId) {
        this.competitorId = competitorId;
    }

    public Double getCompetitiveness() {
        return competitiveness;
    }

    public void setCompetitiveness(Double competitiveness) {
        this.competitiveness = competitiveness;
    }

    public Boolean getIsNew() {
        return isNew;
    }

    public void setIsNew(Boolean isNew) {
        this.isNew = isNew;
    }

    @Override
    public String toString() {
        return "CompetitiveRelationships{" +
                "userId=" + userId +
                ", competitorId=" + competitorId +
                ", competitiveness=" + competitiveness +
                ", isNew=" + isNew +
                "}";
    }
}
